Webdados\InvoiceXpressWooCommerce\BaseController D

Total Complexity 190
Dependencies 5
Dependents 0
Total lines 1,402
Lines of code 915
Logical lines of code 436
Comment lines 381
Methods 28
Properties 6

Methods 28

Method Rating Maintainability Complexity Lines of code
getOrderItemsForDocument()
D
28
33 141
getAndSendPDF()
C
28
21 157
finalize_document()
C
29 21 133
storeAndNoteDocument()
B
35 15 85
process_items()
B
42 17 48
send_invoice_email()
A
37 10 72
preventDocumentIssuingLogger()
A
50 12 26
get_due_date()
A
50 10 27
get_vat_name()
A
52 10 25
check_order_is_euro()
S
49 5 33
preventDocumentIssuing()
S
55 5 21
find_sequence_id()
S
57 5 15
get_document_client_name()
S
60 3 13
changeOrderState()
S
57 2 17
can_send_non_woocommerce_email()
S
76 3 3
registerSettingsOptionsValidation()
S
60 2 15
registerSettingsOptions()
S
63 2 12
format_string()
S
66 2 8
get_order_number()
S
77 2 3
doActionEmail()
S
69 2 6
noteDocumentFailedPDF()
S
60 1 13
get_email_placeholders()
S
79 1 3
draft_document_note()
S
65 1 9
getDocumentPDF()
S
64 1 10
get_order_po_reference()
S
78 1 3
order_item_title()
S
74 1 4
doActionFinalize()
S
74 1 4
__construct()
S
66 1 9